<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<!-- Required Stylesheets -->
<link rel="stylesheet" type="text/css" href="{$templateDir}/css/reset.css" media="screen" />
<link rel="stylesheet" type="text/css" href="{$templateDir}/css/text.css" media="screen" />
<link rel="stylesheet" type="text/css" href="{$templateDir}/css/fonts/ptsans/stylesheet.css" media="screen" />
<link rel="stylesheet" type="text/css" href="{$templateDir}/css/fluid.css" media="screen" />

<link rel="stylesheet" type="text/css" href="{$templateDir}/css/mws.style.css" media="screen" />
<link rel="stylesheet" type="text/css" href="{$templateDir}/css/icons/icons.css" media="screen" />

<!-- Demo and Plugin Stylesheets -->
<link rel="stylesheet" type="text/css" href="{$templateDir}/css/demo.css" media="screen" />

<link rel="stylesheet" type="text/css" href="{$templateDir}/plugins/colorpicker/colorpicker.css" media="screen" />
<link rel="stylesheet" type="text/css" href="{$templateDir}/plugins/jimgareaselect/css/imgareaselect-default.css" media="screen" />
<link rel="stylesheet" type="text/css" href="{$templateDir}/plugins/fullcalendar/fullcalendar.css" media="screen" />
<link rel="stylesheet" type="text/css" href="{$templateDir}/plugins/fullcalendar/fullcalendar.print.css" media="print" />
<link rel="stylesheet" type="text/css" href="{$templateDir}/plugins/tipsy/tipsy.css" media="screen" />
<link rel="stylesheet" type="text/css" href="{$templateDir}/plugins/sourcerer/Sourcerer-1.2.css" media="screen" />
<link rel="stylesheet" type="text/css" href="{$templateDir}/plugins/jgrowl/jquery.jgrowl.css" media="screen" />
<link rel="stylesheet" type="text/css" href="{$templateDir}/plugins/spinner/spinner.css" media="screen" />
<link rel="stylesheet" type="text/css" href="{$templateDir}/css/jui/jquery.ui.css" media="screen" />

<!-- Theme Stylesheet -->
<link rel="stylesheet" type="text/css" href="{$templateDir}/css/mws.theme.css" media="screen" />

<!-- JavaScript Plugins -->

<script type="text/javascript" src="{$templateDir}/js/jquery-1.7.1.min.js"></script>

<script type="text/javascript" src="{$templateDir}/plugins/jimgareaselect/jquery.imgareaselect.min.js"></script>
<script type="text/javascript" src="{$templateDir}/plugins/jquery.dualListBox-1.3.min.js"></script>
<script type="text/javascript" src="{$templateDir}/plugins/jgrowl/jquery.jgrowl.js"></script>
<script type="text/javascript" src="{$templateDir}/plugins/jquery.filestyle.js"></script>
<script type="text/javascript" src="{$templateDir}/plugins/fullcalendar/fullcalendar.min.js"></script>
<script type="text/javascript" src="{$templateDir}/plugins/jquery.dataTables.js"></script>
<!--[if lt IE 9]>
<script type="text/javascript" src="{$templateDir}/plugins/flot/excanvas.min.js"></script>
<![endif]-->
<script type="text/javascript" src="{$templateDir}/plugins/flot/jquery.flot.min.js"></script>
<script type="text/javascript" src="{$templateDir}/plugins/flot/jquery.flot.pie.min.js"></script>
<script type="text/javascript" src="{$templateDir}/plugins/flot/jquery.flot.stack.min.js"></script>
<script type="text/javascript" src="{$templateDir}/plugins/flot/jquery.flot.resize.min.js"></script>
<script type="text/javascript" src="{$templateDir}/plugins/colorpicker/colorpicker.js"></script>
<script type="text/javascript" src="{$templateDir}/plugins/tipsy/jquery.tipsy.js"></script>
<script type="text/javascript" src="{$templateDir}/plugins/sourcerer/Sourcerer-1.2.js"></script>
<script type="text/javascript" src="{$templateDir}/plugins/jquery.placeholder.js"></script>
<script type="text/javascript" src="{$templateDir}/plugins/jquery.validate.js"></script>
<script type="text/javascript" src="{$templateDir}/plugins/jquery.mousewheel.js"></script>
<script type="text/javascript" src="{$templateDir}/plugins/spinner/ui.spinner.js"></script>
<script type="text/javascript" src="{$templateDir}/js/jquery-ui.js"></script>

<script type="text/javascript" src="{$templateDir}/plugins/elrte/js/elrte.min.js"></script>
<script type="text/javascript" src="{$templateDir}/plugins/elfinder/js/elfinder.min.js"></script>

<link rel="stylesheet" type="text/css" href="{$templateDir}/plugins/elrte/css/elrte.full.css" media="screen" />
<link rel="stylesheet" type="text/css" href="{$templateDir}/plugins/elfinder/css/elfinder.css" media="screen" />

<script type="text/javascript" src="{$templateDir}/js/mws.js"></script>
<script type="text/javascript" src="{$templateDir}/js/demo.js"></script>
<script type="text/javascript" src="{$templateDir}/js/themer.js"></script>

<script type="text/javascript" src="{$templateDir}/js/demo.formelements.js"></script>

<script type="text/javascript" src="{$templateDir}/js/demo.dashboard.js"></script>

<title>BArt Shop Admin - Dashboard</title>
<script type="text/javascript">
function checkCodeExist()
        {
        	var code = $("input:text[name=code]").val();
        	var url = "{$websiteURL}/admin/controller/ajaxCheckExist.php?type=articleCode";  
        	$.ajax({
                url: url,
                data: { code: code },
                type: 'post'
        	}).done(function( msg ) {
            	if(code.length > 0){
        			$('#checkerr').show();
					$('#checkerr').html(msg);
            	}else
        			$('#checkerr').hide();
        		  return false;	
        		});
            return false;	
        }
</script>